//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在q_operations_contractList.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"Brand":"","Type":"","Model":"","Price":"","Goods_num":""},
		editFormOptions: [{"title":"设备品牌","required":true,"field":"Brand","type":"text"},
                               {"title":"设备类型","field":"Type","type":"text"},
                               {"title":"设备型号","field":"Model","type":"text"},
                               {"title":"价格","field":"Price","type":"number"},
                               {"title":"数量","required":true,"field":"Goods_num","type":"number"}],
		searchFormFields: {},
		searchFormOptions: [],
		columns: [{field:'Brand',title:'设备品牌',type:'string',edit:true},
                       {field:'Type',title:'设备类型',type:'string',edit:true},
                       {field:'Model',title:'设备型号',type:'string',edit:true},
                       {field:'Price',title:'价格',type:'decimal',edit:true},
                       {field:'Goods_num',title:'数量',type:'float',edit:true}],
		table: {
			key: 'Operations_contractList',
			footer: "Foots",
			cnName: '运维合同明细',
			name: 'q_operations_contractList',
			url: "/q_operations_contractList/",
			sortName: "Brand"
		}
	}
}
